package hy.线程.锁;

public class Test {
    public static void main(String[] args) {
        A a = new A();
        new Thread(()->{
            a.m1();
        }).start();

        new Thread(()->{
            a.m2();
        }).start();
    }
}
